doc: add link to glob::glob::Pattern
authorAlex Burka <durka42+github@gmail.com>
Mon, 8 Jun 2015 18:48:33 +0000 (14:48 -0400)
committerAlex Burka <durka42+github@gmail.com>
Mon, 8 Jun 2015 18:48:33 +0000 (14:48 -0400)
I was confused by the double-asterisk syntax in the glob. I figured it couldn't hurt to unobtrusively document what the format is.

src/doc/manifest.md

index dd3dcf918b5b0808b1f2d81cd71e6e8705fff75f..d1760205babd312edbac64a18ab745f7b3e98d94 100644 (file)
@@ -40,7 +40,7 @@ build = "build.rs"
 
 ## The `exclude` and `include` Fields (optional)
 
-You can explicitly specify to Cargo that a set of globs should be ignored or
+You can explicitly specify to Cargo that a set of [globs][globs] should be ignored or
 included for the purposes of packaging and rebuilding a package. The globs
 specified in the `exclude` field identify a set of files that are not included
 when a package is published as well as ignored for the purposes of detecting
@@ -66,6 +66,8 @@ The options are mutually exclusive: setting `include` will override an
 `exclude`. Note that `include` must be an exhaustive list of files as otherwise
 necessary source files may not be included.
 
+[globs]: http://doc.rust-lang.org/glob/glob/struct.Pattern.html
+
 ## Package metadata
 
 There are a number of optional metadata fields also accepted under the